/**
 * Course Project for User Interface Programming I, 2011
 * Group 19
 */
package justdoit.actions;

import java.awt.event.ActionEvent;
import javax.swing.AbstractAction;
import javax.swing.ImageIcon;
import justdoit.controller.LanguageManager;

/**
 * The Action for File Menu, do nothing
 * @author Can
 */
public class FileAction extends AbstractAction {

    public FileAction() {
        super(LanguageManager.getString("menu.file"));
        putValue(MNEMONIC_KEY, LanguageManager.getMnemonic("mnemonic.menu.file"));
    }

    public FileAction(String text) {
        super(text);
    }

    public FileAction(String text, ImageIcon icon) {
        super(text, icon);
    }

    public FileAction(String text, ImageIcon icon,
            String desc, Integer mnemonic) {
        super(text, icon);
        putValue(SHORT_DESCRIPTION, desc);
        putValue(MNEMONIC_KEY, mnemonic);
    }

    public void actionPerformed(ActionEvent e) {
    }
}
